package com.ibiaoke.system.service;

import com.ibiaoke.common.utils.AssertUtils;
import com.ibiaoke.system.dao.AppVersionDao;
import com.ibiaoke.system.entity.AppVersions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppVersionServiceImpl implements AppVersionService{

    @Autowired
    private AppVersionDao appVersionDao;
    @Override
    public List<AppVersions> getAppVersion(String type) {
        AssertUtils.notBlank(type, "类型不能为空");
        List<AppVersions> appVersions = appVersionDao.getAppVersion(type);
        return appVersions;
    }
}
